package cloth.dao;

import java.sql.SQLException;

import org.springframework.orm.ibatis.SqlMapClientTemplate;

import cloth.vo.MemberVO;



public class MemberDAO {
	private SqlMapClientTemplate client;
	public MemberDAO(){}
	
	public void setSqlMapClientTemplate(SqlMapClientTemplate client){
		this.client = client;
	}
	
	public MemberVO getMember(String m_id){
		return (MemberVO)client.queryForObject("getMember",m_id);
	}
	
	public void insertMember (MemberVO mvo) throws SQLException{
		client.queryForObject("insertMember", mvo);
	}
	
	
}
